package com.wxxymaker.edu.model.entity;

import io.github.biezhi.anima.Model;
import io.github.biezhi.anima.annotation.Ignore;
import io.github.biezhi.anima.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @AUTHOR soft
 * @DATE 2018/9/2 22:41
 * @DESCRIBE 提问回复
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "ask_result")
public class AskResult extends Model {
    private Integer id;

    private Integer fromUserId;  // 回复者
    @Ignore
    private User    from;

    private Integer askId;      // 提问话题主题
    @Ignore
    private Ask     ask;

    private Integer toUserId;   // 回复对象
    @Ignore
    private User    to;

    private String  content;    // 回复内容
    private String  time;       // 回复时间
}
